package com.tdogg.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.tdogg.entity.Admins;

public interface IAdminService {
	Admins login(String name,String pass);
	Integer updateAdmin(Admins admin);
	Admins findAdminById(Integer id);

	PageInfo<Admins> queryByPage(Integer page, Integer size, String keywords);
	int updateAdminState(Integer adminId, Integer state);

	String addAdmin(Admins admin);

	int deleteAdmin(Integer adminId);
}
